#-------------------------------------------------
#
# Project created by QtCreator 2014-11-03T11:02:59
#
#-------------------------------------------------

QT       -= core gui

TARGET = mm
TEMPLATE = lib

DEFINES += MM_LIBRARY CONFIG_HIGHMEM

DESTDIR += ../bin

INCLUDEPATH += ../include
QMAKE_INCDIR += ../include

INCLUDEPATH += ../include/x86
QMAKE_INCDIR += ../include/x86

SOURCES += \
    allocpercpu.c \
    backing-dev.c \
    bootmem.c \
    bounce.c \
    debug-pagealloc.c \
    dmapool.c \
    fadvise.c \
    failslab.c \
    filemap.c \
    filemap_xip.c \
    fremap.c \
    highmem.c \
    hugetlb.c \
    hwpoison-inject.c \
    init-mm.c \
    kmemcheck.c \
    kmemleak.c \
    kmemleak-test.c \
    ksm.c \
    maccess.c \
    madvise.c \
    memcontrol.c \
    memory.c \
    memory_hotplug.c \
    memory-failure.c \
    mempolicy.c \
    mempool.c \
    migrate.c \
    mincore.c \
    mlock.c \
    mm_init.c \
    mmap.c \
    mmu_context.c \
    mmu_notifier.c \
    mmzone.c \
    mprotect.c \
    mremap.c \
    msync.c \
    nommu.c \
    oom_kill.c \
    page_alloc.c \
    page_cgroup.c \
    page_io.c \
    page_isolation.c \
    pagewalk.c \
    page-writeback.c \
    percpu.c \
    prio_tree.c \
    quicklist.c \
    readahead.c \
    rmap.c \
    shmem.c \
    shmem_acl.c \
    slab.c \
    slob.c \
    slub.c \
    sparse.c \
    sparse-vmemmap.c \
    swap.c \
    swap_state.c \
    swapfile.c \
    thrash.c \
    truncate.c \
    util.c \
    vmalloc.c \
    vmscan.c \
    vmstat.c

HEADERS += \
    internal.h

unix {
    target.path = /usr/lib
    INSTALLS += target
}

OTHER_FILES += \
    Kconfig \
    Kconfig.debug \
    Makefile
